package vdc.view.listeners;

import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

import vdc.controller.MainConsoleController;

public class MouseListenerEx implements MouseListener
{

	@Override
	public void mouseClicked(MouseEvent e)
	{
		MainConsoleController.getInstance().addLabel(
				"Mouse clicked: x " + e.getX() + "; y " + e.getY());

	}

	@Override
	public void mouseEntered(MouseEvent e)
	{
		MainConsoleController.getInstance().addLabel(
				"Mouse entered: x " + e.getX() + "; y " + e.getY());

	}

	@Override
	public void mouseExited(MouseEvent e)
	{
		MainConsoleController.getInstance().addLabel(
				"Mouse exited: x " + e.getX() + "; y " + e.getY());

	}

	@Override
	public void mousePressed(MouseEvent e)
	{
		MainConsoleController.getInstance().addLabel(
				"Mouse pressed: x " + e.getX() + "; y " + e.getY());

	}

	@Override
	public void mouseReleased(MouseEvent e)
	{
		MainConsoleController.getInstance().addLabel(
				"Mouse released: x " + e.getX() + "; y " + e.getY());

	}

}
